<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登录页面</title>


</head>
<body>
<%--显示错误信息--%>
<c:if test="${errors!=null}">
    <c:forEach items="${errors}" var="error">
        <font color="red">${error.defaultMessage}</font><br>
    </c:forEach>
</c:if>


<form name="bookForm" action="${pageContext.request.contextPath}/login.action">
    用户名:<input type="text" name="name" value="">
    <br>
    密&nbsp&nbsp&nbsp码:<input type="text" name="pass" value="">
    <input type="submit" value="登录">
</form>
</body>
</html>
